linux: Prefer testing io_bitmap_ptr to the TIF_IO_BITMAP.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Mon, 5 Mar 2007 14:20:26 +0000 (14:20 +0000)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Mon, 5 Mar 2007 14:20:26 +0000 (14:20 +0000)
commit63d7a82faeb6d4292362dfbe1fb8f41b0d1037c8
tree1bd335cf6f1ffcc7cee93ec08aa8a379458fb5a5
parent91d86d5e62cb16b3f8e6b387d6ce49e433bde643
linux: Prefer testing io_bitmap_ptr to the TIF_IO_BITMAP.
Former is safer (in case TIF_IO_BITMAP is out-of-sync with actual
existence of an I/O bitmap for this process) and more readable, and
probably results in faster code too.
Signed-off-by: Keir Fraser <keir@xensource.com>
linux-2.6-xen-sparse/arch/i386/kernel/process-xen.c